
// <copyright file="SizedQueueOnFullEventArgs.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   The sized queue on full event args.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Collections.Generic
{
    using System;

    /// <summary>
    /// The sized queue on full event args.
    /// </summary>
    /// <typeparam name="T">
    /// </typeparam>
    public class SizedQueueOnFullEventArgs<T> : EventArgs
    {
        #region Constructors and Finalizers

        /// <summary>
        /// Initializes a new instance of the <see cref="SizedQueueOnFullEventArgs{T}"/> class.
        /// </summary>
        /// <param name="item">
        /// The item.
        /// </param>
        public SizedQueueOnFullEventArgs(T item)
        {
            this.Item = item;
        }

        #endregion Constructors and Finalizers

        #region Public Properties

        /// <summary>
        /// Gets the item.
        /// </summary>
        public T Item { get; private set; }

        #endregion Public Properties
    }
}